package com.huike.Branch.dtos;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 部门表(Branch)实体类
 *
 * @author makejava
 * @since 2023-07-16 10:19:50
 */
@Data
public class BranchPageDTO {


    /**
     * 部门名称
     */
    private String branchName;
    /**
     * 状态
     */
    private Integer status;
    private Integer page;
    private Integer pageSize;

    public void initialize(){
        if (page == null || page == 0){
            page = 1;
        }
        if (pageSize == null || pageSize == 0){
            pageSize = 10;
        }

    }



}

